package com.lzx.shop.service;

import com.lzx.shop.model.Result;
import com.lzx.shop.params.PaymentParam;

import java.util.Map;

/**
 * @InterfaceName PayService
 * @Author 刘正星
 * @Date 2021/3/27 下午2:00
 * @Description
 */
public interface PayService {

    /**
     * 支付订单
     *
     * @param paymentParam 支付所需参数
     * @return Result
     */
    Result payOrder(PaymentParam paymentParam);

    /**
     * 支付宝支付回调接口
     * @param mapParam
     * @return
     */
    Result alipayCallBack(Map<String,String> mapParam);


}
